{% extends 'base.html' %}
{% block content %}
    <table width="1280" height="288" border="0" align="center" cellpadding="0"
           cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    <td align="center" valign="top">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td height="39" align="right">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td width="18" height="45" align="right">&nbsp;</td>
                <td colspan="3" class="tableBorder_B_dashed">
                    <h3>上传文件</h3>
                </td>
                <td width="24">&nbsp;
                </td>
            </tr>
            <tr>
                <td align="right">&nbsp;</td>
                <td height="10" colspan="3">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td height="10" align="right">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
        <form id="form-data" method="post"
              action="{{ url_for('home.upload_file',hardware=hardware) }}"
              enctype="multipart/form-data">
            <table width="94%" border="0" align="center" cellpadding="0"
                   cellspacing="0" bordercolordark="#FFFFFF">
                <tr>
{#                    <td width="14%" height="27">&nbsp;上传日志文件：</td>#}
                    <td  width="14%" height="27" colspan="3">&nbsp;
                        <input type="file" name="file"/>
                    </td>
                </tr>

                <tr>
                    <td height="29" align="right">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td height="38"  width="14%" colspan="1" align="center">
                        <input class="btn btn-primary btn-block btn-flat"
                               type="submit" name="submit"/>
                    </td>
                </tr>
            </table>
        </form>
    </td>
{% endblock %}
